package com.example.springboot.mapper;

import com.example.springboot.entity.PopulationStatistics;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ProcreateMapper {
    @Select("SELECT year,birth_population FROM population_statistics")
    List<PopulationStatistics> selectAll();
}
